import c4d
import os, sys, re, time, random, math

from c4d import gui, plugins, bitmaps, utils, documents

PLUGIN_ID = 1037231


class Entry(plugins.TagData):

    def Init(self, node):
    
        return True

    def Execute(self, tag, doc, op, bt, priority, flags):

        return c4d.EXECUTIONRESULT_OK
        
if __name__ == "__main__":
    bmp = bitmaps.BaseBitmap()
    dir, file = os.path.split(__file__)
    fn = os.path.join(dir, "res", "tag.png")
    bmp.InitWith(fn)
    
    plugins.RegisterTagPlugin(id=PLUGIN_ID, str="Unity Vertex Animation Tag",
                              info=c4d.TAG_VISIBLE, g=Entry,
                              description="unity_vertex_anim_tag", icon=bmp)